package com.qinggeng.project.api.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

@Data
public class PositionDto {

    /**
     * 职位ID
     */
    private Long id;

    /**
     * 职位名称
     */
    private String positionName;

    /**
     * 聊伴描述
     */
    private String describe;

    /**
     * 工作地点
     */
    private String place;

    /**
     * 薪资
     */
    private String salary;

    /**
     * 学历
     */
    private String education;

    /**
     * 工作经验
     */
    private String experience;

    /**
     * 职位分类名称
     */
    private String classifyName;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 公司Logo
     */
    private String logo;

    /**
     * 发布者Id
     */
    private Long jobUserId;


    /**
     * 状态 10=审核中  20=审核通过 30=审核不通过
     */
    private String status;

    //浏览次数
    private Integer browseCount;

    /**
     * 职位类型
     */
    private Integer type;

    private String demands;

    //最近操作时间
    private Date recentTime;

    private boolean isCollect=false;

    private boolean isDelivery=false;


    public void setIsCollect(boolean isCollect) {
        this.isCollect = isCollect;
    }

    public void setIsDelivery(boolean isDelivery) {
        this.isDelivery = isDelivery;
    }

    public boolean getIsCollect() {
        return this.isCollect;
    }

    public boolean getIsDelivery() {
        return this.isDelivery;
    }
}
